package com.own.business.system.user.business.hook;

/**
 * SystemUserDeleteHook
 *
 * @author chenxueli
 * @date 2023-06-18 11:21:00
 */
public interface SystemUserDeleteHook {

    /**
     * 删除之前的回调
     *
     * @param userId 用户id
     */
    default void before(Long userId) {
    }

    /**
     * 删除之后的回调
     *
     * @param userId 用户id
     */
    default void after(Long userId) {
    }

}
